import React, { memo } from 'react'

function Son2({ num }) {
    console.log('我是函数式组件的逻辑')
    return (
        <div>
            <h3>
                我是函数式组件 --- { num }
            </h3>
        </div>
    )
}

export default memo(Son2)
